package com.example.business.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("plan")
public class Plan extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;

    // 计划内容
    private String content;

    // 记录日期（唯一，每日一条）
    private LocalDate recordDate;
}